package kr.hkit.powerjava.chapter6.work;

import java.util.Scanner;

public class programming6 {
	public static void main(String[] args) {

		for (int n = 2; n <= 100; n++)
			for (int k = 2; k <= n; k++)

				if (n % k == 0)
					if (n == k)
						System.out.print(n + " ");
					else
						break;

	}

}
